from flask import Flask
from flask import render_template
app=Flask(__name__)

@app.route("/")
def hello_world():
    return "Hello ,world"
@app.route("/test")
def hello_test():
    return "Hello ,world"
@app.route("/<name>")
def hello_name(name):
    return "Hello ,%s"%name
@app.route("/echarts")
def hello_echarts():
    data_test={"a":[1,2,3,4,5]}
    return render_template("index.html",data_number=data_test)

if __name__=="__main__":
    app.run(debug=True)
     